package com.qst.express.mapper;

import com.qst.express.entity.Courier;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qst.express.entity.vo.CourierVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author mjh
 * @since 2022-09-25
 */
public interface CourierMapper extends BaseMapper<Courier> {
    CourierVo getCourierTotal();

    Courier findByPhone(@Param("phone") String phone);

    void updateLoginTime(@Param("userPhone") String userPhone);


    int updateDelivery(@Param("userPhone") String userphone);
}
